package org.lee.provider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jackielee
 * @version 1.0
 * @description EchoController
 * @date 2021/4/23
 */
@RestController
@RequestMapping("/echo")
public class EchoController {

  @GetMapping("/{message}")
  public String echo(@PathVariable String message) {
    return "Hello Nacos Discovery " + message;
  }
}
